#include <stdio.h>
#include <stdlib.h>
#include <time.h> 

int main()
{
	FILE *fp;
	fp = fopen ("1.1.dat","r");
	if (NULL == fp)
	{
		perror ("open");
		return 1;
	}

//	fseek(fp,-10L,SEEK_END);
//	fseek(fp,10L,SEEK_SET);
	fseek(fp,2L,SEEK_CUR);
	long len = ftell(fp);
	printf("%ld\n",len);

	if (fp) fclose(fp);
	return 0;
}